package swu.edu.cn.javaee.entity;


import org.apache.ibatis.type.Alias;

@Alias("friend")
public class Friend {
    private String fid;
    private String userId;
    private String friendId;
    private User friend;
    private String userGroup;
    /*private String fiend_group;*/

    public String getFid() {
        return fid;
    }

    public User getFriend() {
        return friend;
    }

    public void setFriend(User friend) {
        this.friend = friend;
    }
    /*public String getFiend_group() {
        return fiend_group;
    }*/

    public String getFriendId() {
        return friendId;
    }

    public String getUserGroup() {
        return userGroup;
    }

    public String getUserId() {
        return userId;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    /*public void setFiend_group(String fiend_group) {
        this.fiend_group = fiend_group;
    }*/

    public void setFriendId(String friendId) {
        this.friendId = friendId;
    }

    public void setUserGroup(String userGroup) {
        this.userGroup = userGroup;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Friend{" +
                "fid='" + fid + '\'' +
                ", userId='" + userId + '\'' +
                ", friendId='" + friendId + '\'' +
                ", friend=" + friend +
                ", userGroup='" + userGroup + '\'' +
                '}';
    }
}
